package com.tcoiss.webservice.config.wx.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:weChat/weChat.properties")
public class AccessTokenConfig {
    @Value("${corpid}")
    private String corpid;

    @Value("${corpsecret}")
    private String corpsecret;

    @Value("${agentId}")
    private String agentId;

    @Value("${wechat_getUserInfo_url}")
    private String wechat_getUserInfo_url;


    @Value("${wechat_send_url}")
    private String wechat_send_url;

    @Value("${wechat_media_url}")
    private String wechat_media_url;

    @Value("${wxpage_error_user_main_url}")
    private String wxpage_error_user_main_url;

    @Value("${wxpage_wxaouth_url}")
    private String wxpage_wxaouth_url;

    @Value("${customerFlowPush_URL}")
    private String customerFlowPush_URL;

    @Value("${customerFlowDataToDayPush_URL}")
    private String customerFlowDataToDayPush_URL;

    //@Value("${wxpage_messageDetail_url}")
    @Value("1")
    private String wxpage_messageDetail_url;

    public String getCorpid() {
        return corpid;
    }

    public void setCorpid(String corpid) {
        this.corpid = corpid;
    }

    public String getCorpsecret() {
        return corpsecret;
    }

    public void setCorpsecret(String corpsecret) {
        this.corpsecret = corpsecret;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }


    public String getWxpage_wxaouth_url() {
        return wxpage_wxaouth_url;
    }

    public void setWxpage_wxaouth_url(String wxpage_wxaouth_url) {
        this.wxpage_wxaouth_url = wxpage_wxaouth_url;
    }

    public String getWechat_getUserInfo_url() {
        return wechat_getUserInfo_url;
    }

    public void setWechat_getUserInfo_url(String wechat_getUserInfo_url) {
        this.wechat_getUserInfo_url = wechat_getUserInfo_url;
    }

    public String getWechat_send_url() {
        return wechat_send_url;
    }

    public void setWechat_send_url(String wechat_send_url) {
        this.wechat_send_url = wechat_send_url;
    }

    public String getWechat_media_url() {
        return wechat_media_url;
    }

    public void setWechat_media_url(String wechat_media_url) {
        this.wechat_media_url = wechat_media_url;
    }

    public String getWxpage_error_user_main_url() {
        return wxpage_error_user_main_url;
    }

    public void setWxpage_error_user_main_url(String wxpage_error_user_main_url) {
        this.wxpage_error_user_main_url = wxpage_error_user_main_url;
    }

    public String getCustomerFlowPush_URL() {
        return customerFlowPush_URL;
    }

    public void setCustomerFlowPush_URL(String customerFlowPush_URL) {
        this.customerFlowPush_URL = customerFlowPush_URL;
    }

    public String getCustomerFlowDataToDayPush_URL() {
        return customerFlowDataToDayPush_URL;
    }

    public void setCustomerFlowDataToDayPush_URL(String customerFlowDataToDayPush_URL) {
        this.customerFlowDataToDayPush_URL = customerFlowDataToDayPush_URL;
    }

    public String getWxpage_messageDetail_url() {
        return wxpage_messageDetail_url;
    }

    public void setWxpage_messageDetail_url(String wxpage_messageDetail_url) {
        this.wxpage_messageDetail_url = wxpage_messageDetail_url;
    }
}
